package r5.powtorka6;

public class Tester {

	public static void main(String[] args) {

		Manager m1 = new Manager("Ed", 1999, 10, 15, 5000);
		Manager m2 = new Manager("Bob", 1999, 10, 15, 10000);
		Manager m3 = new Manager("Bob", 1999, 10, 15, 10000);
		m2.setBonus(3000);
		m3.setBonus(3000);
		
		System.out.println(m1.getSalary());
		System.out.println(m2.getSalary());
		System.out.println(m1);
		System.out.println(m2);
		
		System.out.println(m2.equals(m3));
	}

}
